package com.tronapi.c;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 程序启动入口
 */
@SpringBootApplication
@MapperScan("com.tronapi.c.dao")
public class Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Application.class);
        if (context.isActive()) {
            System.out.println("启动成功！！");
        }
    }
}
